package src.test.client.facade;

import src.test.client.presenter.BotonPresenter;
import src.test.client.view.BotonView;

import com.google.gwt.user.client.ui.Widget;

public class BotonFacade {
	
	/**
	 * Create a remote service proxy to talk to the server-side Greeting service.
	 */

private static BotonFacade instance = new BotonFacade();

private BotonFacade(){
		super();
}
public static BotonFacade getInstance(){
	return instance;
}
	
	public Widget getAplicacion (){

		//vista
		BotonView view = new BotonView();
		//logica
		BotonPresenter presenter = new BotonPresenter(view);
		
		return (Widget)presenter.getView();
	}

}
